#coding:utf-8
'''
create on 2017-04-20

@author:sandy
'''
from pycommon import Pack as packet
from pycommon import Const

def loginGate(errcode):
    return packet.pack("HH",Const.CMD_GATE2C_LOGIN,errcode)

def kickUser(code):
    return packet.pack("HH",Const.CMD_GATE2C_KICK_USER,code)